home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / b / b.lha / B / src / bint / Collect < prev    next >
Encoding:
Text File  |  1988-11-24  |  306 b   |  10 lines

  1. : 'Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. '
  2. : '$Header: Collect,v 1.1 85/08/22 16:38:37 timo Exp $'
  3.  
  4. : 'Collect error messages form all source files'
  5.  
  6. grep 'MESS([0-9]' $* |
  7. sed '/syserr/s/.*MESS(\([0-9]*\), *"\(.*\)").*/\1*    \2/
  8.     s/.*MESS(\([0-9]*\), *"\(.*\)").*/\1    \2/' |
  9. sort -n
  10.